/**
 * \file error.cpp
 * \brief Error class implementation
 * \author Marc Laval
 * \version 0.1
 * \date 10/2011
 *
 */

#include "error.h"

#ifndef _ERROR_H_
#define _ERROR_H_

//------------------------------------------------------------------
/*! \brief Create an Error with a message "msg"
 *  \param msg String describing the error
 */
Error::Error(std::string msg) : m_msg(msg)
{

}

//------------------------------------------------------------------
/*! \brief Standard destructor
 *  Dose nothing special, no pointer here.
 */
Error::~Error()
{
//Nothing to do here
}

//------------------------------------------------------------------
/*! \brief Accessor for the error message
 *  \return The error message as string
 */
std::string Error::msg()
{
    return m_msg;
}


